package com.atguigu.mapper;

import com.atguigu.entity.system.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMapper {
    List<SysRole> findByPage(String roleName);

    void submit(SysRole sysRole);

    void update(SysRole sysRole);

    void remove(long roleId);

    List<SysRole> findAll();
}
